package modelo;

public class Product {
    
    private int id;
    private String name;
    private String shortDescription;
    private String longDescription;
    private double price;
    private int stock;

    public Product(int id, String name, String shortDescription, String longDescription, double price, int stock) {
        this.id = id;
        this.name = name;
        this.shortDescription = shortDescription;
        this.longDescription = longDescription;
        this.price = price;
        this.stock = stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getId() {
        return id;
    }

    public String getLongDescription() {
        return longDescription;
    }

    public String getName() {
        return name;
    }

    public double getPrice() {
        return price;
    }

    public String getShortDescription() {
        return shortDescription;
    }

    public int getStock() {
        return stock;
    }

}
